package com.mai.erp.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.mai.erp.domain.Workerstation;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author wang
 * @description 针对表【workerstation】的数据库操作Service
 * @createDate 2025-06-16 14:22:09
 */
public interface WorkerstationService extends IService<Workerstation> {

    default List<Workerstation> getByWorkstationId(Integer workstationId){
        return this.list(new LambdaQueryWrapper<Workerstation>().eq(Workerstation::getWsid, workstationId));
    }
}
